//
//  ViedoCell.m
//  Leisure
//
//  Created by xalo on 16/7/4.
//  Copyright © 2016年 Hero. All rights reserved.
//

#import "ViedoCell.h"
@interface ViedoCell()
@property (weak, nonatomic) IBOutlet UIImageView *coverimg;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *desc;
@property (weak, nonatomic) IBOutlet UITextField *uname;

@end
@implementation ViedoCell
- (void)setCellWithModel:(ViedoModel *)model{
    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:model.coverimg]];
    self.title.text = model.title;
    self.desc.text  = model.desc;
    self.uname.placeholder = model.uname;
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
